package com.yzmoney.common.model;

/**
 * 
 * 用于 ajax 返回json 数据，判断result 来查看是否成功,返回对象存在 resultObj 中，返回对象数组存在 resultList中
 *  
 * @author DOVE
 *
 */
public class JSONMsg {
	private boolean result;
	
	private Object resultObj;
	
	private Object resultList;

	public boolean isResult() {
		return result;
	}

	public void setResult(boolean result) {
		this.result = result;
	}

	public Object getResultObj() {
		return resultObj;
	}

	public void setResultObj(Object resultObj) {
		this.resultObj = resultObj;
	}

	public Object getResultList() {
		return resultList;
	}

	public void setResultList(Object resultList) {
		this.resultList = resultList;
	}
	
	public JSONMsg(){
		
	}
	public JSONMsg(boolean result, Object resultObj){
		this.result = result;
		this.resultObj = resultObj;
	}
	public JSONMsg(boolean result){
		this.result = result;
	}
}
